jenkins:
  {% set jenkins_master = salt['grains.get']('jenkins:master', '') %}
  {% if jenkins_master %}
  host: {{ jenkins_master }}:8080
  {% endif %}

  {% set jenkins_slave = salt['grains.get']('jenkins:slave', '') %}
  {% if jenkins_slave %}
  slave_host: {{ jenkins_slave }}
  {% endif %}

  {% set node_name = salt['grains.get']('jenkins:node_name', '') %}
  {% if node_name %}
  # use custom node name if specified in grains
  node_name: {{ node_name }}
  {% else %}
  # defaults to server hostname if not specified
  node_name: {{ salt['grains.get']('host', '') }}
  {% endif %}

  credentials:
    felis: e5efa629-6e4b-40ed-af9d-3e32e1b9a56d
    jenkins: 9fd08163-b40f-4f93-89ad-9d10ff059e09
    jenkins.live: a0a2a9a9-0f62-4d52-a228-d33906c58961
    192.168.11.11: bda60bb1-3802-40f1-874f-fd6488e16337
